package com.citasgoo.admin.dao;

import com.citasgoo.admin.entity.SysEmail;
import com.citasgoo.admin.entity.SysEmailQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysEmailDao {
    int countByExample(SysEmailQuery example);

    int deleteByExample(SysEmailQuery example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysEmail record);

    int insertSelective(SysEmail record);

    List<SysEmail> selectByExampleWithBLOBs(SysEmailQuery example);

    List<SysEmail> selectByExample(SysEmailQuery example);

    SysEmail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysEmail record, @Param("example") SysEmailQuery example);

    int updateByExampleWithBLOBs(@Param("record") SysEmail record, @Param("example") SysEmailQuery example);

    int updateByExample(@Param("record") SysEmail record, @Param("example") SysEmailQuery example);

    int updateByPrimaryKeySelective(SysEmail record);

    int updateByPrimaryKeyWithBLOBs(SysEmail record);

    int updateByPrimaryKey(SysEmail record);
}